#ifndef __ERROR_CODES_VIEW_H__
#define __ERROR_CODES_VIEW_H__

#include <QSplitter>
#include "errorcodestableview.h"
#include "errorcodeswidget.h"
#include "errorcodedescriptionview.h"

class ErrorCodesView : public QSplitter
{
    Q_OBJECT
public:
    explicit ErrorCodesView(QWidget *parent = 0);
    virtual ~ErrorCodesView();

    virtual void createPanel();

protected:
    virtual ErrorCodesWidget *createErrorCodesTable();
    virtual ErrorCodeDescriptionView *createErrorCodeDescriptionWidget();


protected:
    ErrorCodesWidget         *pErrorCodesWidget;
    ErrorCodeDescriptionView *pErrorCodeDescriptionView;


signals:

public slots:
    void setErrorCodeRecieve(const Errorcode &errorcode);

};

#endif // __ERROR_CODES_VIEW_H__
